package com.restaurant.springboot.service;

import com.restaurant.springboot.entity.ShoppingCartEntity;
import com.restaurant.springboot.entity.vo.ShopcartVO;

import java.util.List;

public interface ShopcartService {

    List<ShoppingCartEntity> getUserAllShopcart(int openId);

    ShoppingCartEntity addShopcart(ShoppingCartEntity shoppingCart);

    boolean updateShopcart(ShoppingCartEntity shoppingCart);

    boolean deleteShopcart(ShoppingCartEntity shoppingCart);

    public List<ShopcartVO> getUserAllShopcartVo(int openId);
}
